﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Fall.Core.BaseModels
{
    /// <summary>
    /// 返回结果  -- 分页
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class PagedResult<T>
    {
        public int TotalCount { get; set; }
        public List<T> Result { get; set; }
        public PagedResult(int totalCount, List<T> result) 
        {
            TotalCount = totalCount;
            Result = result;
        }
    }
}
